// 03.03.12 - Steven Hartin - Fixed constructors not initialising constants
// 01.03.12 - Matthew Brews - Original Creation.

#include "movable_entity.h"

CMovableEntity::CMovableEntity(const string &szKey, const ENTITY_ID &nId,
                               float fX, float fY, float fZ, bool bVisible) :
    CEntity(szKey, nId, fX, fY, fZ, bVisible)
{
}

D3DXVECTOR3 CMovableEntity::getVelocity() const
{
    return m_vecVelocity;
}

void CMovableEntity::setVelocity(D3DXVECTOR3 velocity)
{
    m_vecVelocity = velocity;
}